package com.lanju.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.lanju.entity.PageLogs;

@Repository
public class LogsDao {
	  @PersistenceContext(unitName = "financialmarketingUnit")
		private EntityManager entityManager;
	  
	  public void insertLogs(PageLogs logs){
		  try {
			entityManager.persist(logs);
		} catch (Exception e) {
		
		}
	  }
}
